package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 接受记录对象 receive_log
 * 
 * @author ruoyi
 * @date 2025-09-11
 */
public class ReceiveLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 设备ID */
    @Excel(name = "设备ID")
    private Long deviceId;

    /** $column.columnComment */
    private Date ctime;

    /** 识别到的送货人ID，对应supply_user */
    private Long userId;

    /** 送货人 */
    @Excel(name = "送货人")
    private String userName;

    /** 送货人照片 */
    @Excel(name = "送货人照片")
    private String userPic;

    /** 识别到的商品图，多个 */
    @Excel(name = "识别到的商品图，多个")
    private String pics;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }

    public void setCtime(Date ctime) 
    {
        this.ctime = ctime;
    }

    public Date getCtime() 
    {
        return ctime;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setUserPic(String userPic) 
    {
        this.userPic = userPic;
    }

    public String getUserPic() 
    {
        return userPic;
    }

    public void setPics(String pics) 
    {
        this.pics = pics;
    }

    public String getPics() 
    {
        return pics;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceId", getDeviceId())
            .append("ctime", getCtime())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userPic", getUserPic())
            .append("pics", getPics())
            .toString();
    }
}
